<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">

            {foreach name="riskStatusList" id="vo" key="k"}
            {eq name="row['status']" value="$k"}<p style="padding-top: 7px;">{$vo}</p>{/eq}
            {/foreach}
        </div>
    </div>

    {if condition="$row['status'] eq 31"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('扣押原因')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$row.reason}
        </div>
    </div>
    {/if}


    {if condition="($row['status'] eq 30)"}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('操作')}:</label>
        <div class="col-xs-12 col-sm-8">

                {:build_radios('row[status]', ['31'=>__('扣押订单'),'2'=>__('继续交易')],$row.status)}

            <div style="color: #999;margin-top: 14px;">Tip:继续交易订单按原来的流程走，扣押订单则订单金额扣押平台。</div>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('备注')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-reason" class="form-control editor" rows="5" name="row[reason]" cols="50">{$row.reason|htmlentities}</textarea>
        </div>
    </div>
    {/if}

    <input id="c-id" class="form-control" name="row[id]]" type="hidden" value="{$row.id|htmlentities}">
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>

</form>
